package com.aopeng.controller;

import com.aopeng.entity.AopengWebsitemsg;
import com.aopeng.mapper.AopengWebsitemsgMapper;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author <a href="mailto:juhui.chen@vtradex.com">陈局辉</a>
 * @since 2020-07-12 14:35
 */
@Controller
@RequestMapping(value = {"/","/client/*"})
public class ClientController {

    @Autowired
    private AopengWebsitemsgMapper AopengWebsitemsgMapper;

    @GetMapping(value = {"/","/client/index","/client/index.html"})
    public String indexDataAll(Model model){

        return "client/index";
    }
    @RequestMapping("/client/row")
    public String rowDateAll(){

        return "client/row";
    }
    @RequestMapping(value = {"/client/content","/client/content.html"})
    public String contentDateAll(){

        return "client/content";
    }

}
